package com.heima.model.comment.dtos;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class CommentRepaySaveDTO {
    /**
     * 评论id
     */
    @NotNull(message = "参数异常")
    private String commentId;
    /**
     * 回复内容
     */
    @Length(max = 140,min = 0,message = "回复品论长度必须在0-140之间")
    private String content;
}